<div class="gray_box_small" style="">
    <a href="#" onclick="self.close()">Close Report Window</a>
    &nbsp;&nbsp;|&nbsp;&nbsp;
    <a href="<?php echo $_SERVER['PHP_SELF'];?>?task=word">Export to Word</a>
    <? if($page_data[csv_export]) { ?>
           &nbsp;&nbsp;|&nbsp;&nbsp;
           <a href="<?php echo $_SERVER['PHP_SELF'];?>?task=csv">Export to Excel</a>
    <? } // end if ?>


</div>
